package com.heshida.controller;

import com.heshida.po.PayLog;
import com.heshida.service.PayLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/PayLogController")
public class PayLogController {
    @Autowired
    private PayLogService payLogService;

    @RequestMapping("/savePayLog")
    public int savePayLog(PayLog payLog){
        return payLogService.savePayLog(payLog);
    }
}
